package com.delong.dao.market;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.delong.model.market.Schedule;

public interface ScheduleMapper {

	
	List<Schedule> selectList(@Param("page_id") int page_id, @Param("pageno") int pageno, @Param("limit") int limit);

	Schedule selectElementById(int id);

	int selectListcount(@Param("page_id") int  page_id);

	int changeStatus(@Param("status") int status, @Param("id") int id);

	int changeElement(Schedule element);

	int addElement(Schedule element);
	int selectValid(@Param("page_id") int page_id);
}
